package sweet.mvc.api

/** Contants keys and request attributes names */
object Constants {
  // the full package version
  val SWEET_APP_VERSION_KEY = "sweet_appVersion"
  
  // Config instance for an webapp.
  val SWEET_CONFIG_INSTANCE_KEY = "sweet_configInstance"
  
  // Config Properties Key
  val CONTEXT_REAL_PATH_KEY = "sweet_contextRealPath"
  
  // Servlet Init Parameters Keys
  val SWEET_CONFIG_CLASSNAME_INIT_PARAM_KEY = "sweet.config.classname"
  
  // Servlet Request, Session, or Application Space/Scope Keys
  val REQ_ROUTE_KEY = "reqRoute"
  val CONTROLLER_HANDLERS_KEY = "sweet_controllerHandlers"
  val CONTROLLER_HANDLERS_SITEMAP_KEY = "sweet_controllerHandlerSiteMap"
  val CONTROLLER_INTERCEPTORS_KEY = "sweet_controllerInterceptors"
}
